package cn.sciento.boot.transfer.infra.feign.fallback;

import cn.sciento.boot.transfer.api.dto.EventErrorDTO;
import cn.sciento.boot.transfer.api.dto.EventSendDTO;
import cn.sciento.boot.transfer.infra.feign.HdttRemoteService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class HdttRemoteServiceImpl implements HdttRemoteService {
  private static final Logger logger = LoggerFactory.getLogger(HdttRemoteServiceImpl.class);
  
  public EventSendDTO createEventSend(EventSendDTO eventSend) {
    logger.error("can not create EventSend where eventId = {0}", eventSend.getEventId());
    return null;
  }
  
  public EventErrorDTO createEventError(EventErrorDTO eventError) {
    logger.error("can not create EventError where  where eventId = {0}", eventError.getEventId());
    return null;
  }
  
  public Long getDistributionId(String bizType) {
    logger.error("can not create distribution Id ");
    return null;
  }
}
